package cn.itcast.mapper;

import cn.itcast.domain.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    //登录
    @Select("select * from USER where username = #{username} and password = #{password}")
    public User findByUsernameAndPwd(@Param("username") String username, @Param("password") String password);
}

